public class ElectricVehicle extends Vehicle implements IPower
{

    public ElectricVehicle()
    {

    }

    public ElectricVehicle(String brand, String color)
    {
        super(brand, color);
    }

    @Override
    public void run()
    {
        System.out.println("骑电动车");
    }

    public void power()
    {
        System.out.println("靠电驱动");
    }
}
